﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<TagCloud.TagCloud>" %>

<%@ Import Namespace="System.Collections.Generic" %>
<!DOCTYPE html>
<html>
<head runat="server">
	<title>Tags</title>
	<link href="<%= Url.Content("~/Content/style.css") %>" rel="stylesheet" type="text/css">
</head>
<body>
	<%= new TagCloud.TagCloud(   new Dictionary<string, int> {
                            {"C#", 58},
                            {"ASP.NET", 45},
                            {"VB.NET", 36},
                            {"AJAX", 24},
                            {"LINQ", 13}
                        },
					    new TagCloud.TagCloudGenerationRules
					    {
						    TagToolTipFormatString = "Tag weight: {0}",
						    TagUrlFormatString = "/ProductSearch.aspx?tag={0}"
					    }) %>
</body>
</html>
